package com.dcdata.haixin.bean;

import lombok.Data;

/**
 * @author: xinmi
 * @date: 2020/11/25
 * @description:
 */
@Data
public class Message {

    public static final byte START = 0x7e;

    private short totalLengh;

    public static final byte VERSION = 0x01;

    private byte packageType;

    private short headLengh;

    private Head head;

    private Body body;

    public static final byte END = 0x7f;

}
